/* eslint-disable no-unused-vars */
/*
 * @Author: Aaron
 * @Date: 2022-04-26 12:42:32
 * @LastEditors: Aaron Huang
 * @LastEditTime: 2022-11-19 00:30:43
 * @Description: file content
 * @FilePath: \ias_ui\helm\config\qa\config.js
 * @Company: 沃尔玛
 */

var appConfig = {
  SSO_API: 'https://flysky-qa.cn.wal-mart.com/portal/#/login',
  coiBuyerConfigBaseUrl: window.location.origin,
  aloha: 'https://aloha-qa.cn.wal-mart.com',
  jdsm: 'https://mdc-qa-aloha-gateway.cn.wal-mart.com',
  appName: 'itemmgmt-web-qa',
  appSecret: '9E297C6650F44D2304CA76A46B7E5736',
  source: 'item-mgmt-buyer-web-qa',
  version: '1.0.0',
  format: 'json',
  operationGuideUrl: 'https://mco-image-stage.walmartmobile.cn/itemcenter_qa',
  hiddenNewProducts: false,
  hiddenNewProducts_Spu: true // 用于隐藏SPU文描管理、渠道商品库 - 京东沃选 - SPU、线上建品任务 - SPU创建， 按钮：单一新增， 批量新增，下载模板 这几个菜单功能  true为隐藏，false 为显示
}

var coiFlag = true

var templateConfig = {
  changeType: [
    { key: 0, value: 'new_item' },
    { key: 1, value: 'item_maintenance' },
    { key: 2, value: 'ixiu' },
    { key: 3, value: 'traits_maintenance' },
    { key: 4, value: 'plu_maintenance' },
    { key: 6, value: 'deletion' },
    { key: 101, value: '新品清单(新品委员会)' },
    { key: 102, value: '自定义表头模板' },
    { key: 103, value: 'price OB' },
    { key: 104, value: 'Ftag Form' },
    { key: 105, value: '商品数据总览导出模板' },
    { key: 200, value: 'plugs_brandIdv' },
    { key: 201, value: 'plugs PiFineline' },
    { key: 300, value: 'OLM_O2O清单数据模板' },
    { key: 301, value: 'O2O清单白名单导入模板' },
    { key: 302, value: 'NBO清单导入模板' },
    { key: 400, value: 'OMI_WMDJ分类导出模板' },
    { key: 402, value: 'OMI_JDDJ分类导出模板' },
    { key: 401, value: 'FineLine-类目映射导出模板' }
  ],
  templateType: [
    { key: 1, value: '采购编辑' },
    { key: 2, value: 'BPMS附件' },
    { key: 3, value: '宏文件' },
    { key: 4, value: '通用导出' }
  ]
}

var imgAuthentication = {
  token: 'h1oUvTJY04GlFuDunzOsVw==',
  clientId: 'omi'
}

var JDSupermarketParams = {
  uploadTemplateMaxSize: 2000
}

var restrictedPurchase = 'https://ocsc-qa.cn.wal-mart.com/sc-front/#'
var freshOne = 'https://freshone-qa.cn.wal-mart.com/freshone/#'

// 商品上下架管理路径配置
var baseUrls = 'https://itemcore-qa.cn.wal-mart.com/itemcore-front/#'

var lowerShelfHidden = false

// 对象存储地址
var objectStorageUrl = 'https://esb-qa.cn.wal-mart.com/object'

var objectStorageRealmName = 'https://esb-qa.cn.wal-mart.com'

var hidden_CBEC_iteration = false

var open_trans_realmName = false
